/* 头部组件样式 */

/* 头部容器 */
.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #ffffff;
  border-bottom: 1px solid #e6f3ff;
  height: 60px;
  box-sizing: border-box;
}

/* 左侧用户头像区域 */
.user-avatar-container {
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-user-avatar {
  width: 32px;
  height: 32px;
}

/* 中间搜索框区域 */
.search-box-container {
  display: flex;
  align-items: center;
  margin: 0 16px;
  padding: 8px 12px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
  flex: 1;
  transition: border-color 0.2s ease;
}

.search-box-container:hover {
  border-color: #1890ff;
}

.search-icon {
  margin-right: 8px;
}

.search-placeholder {
  color: #999999;
  font-size: 14px;
  flex: 1;
}

/* 右侧通知图标区域 */
.notification-container {
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-icon {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.notification-container:hover .notification-icon {
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .header-container {
    padding: 10px 12px;
    height: 56px;
  }

  .search-box-container {
    margin: 0 12px;
    padding: 6px 10px;
  }

  .search-placeholder {
    font-size: 13px;
  }

  .user-avatar-container {
    width: 32px;
    height: 32px;
  }

  .user-avatar {
    width: 28px;
    height: 28px;
  }

  .notification-container {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 360px) {
  .header-container {
    padding: 8px 10px;
    height: 52px;
  }

  .search-box-container {
    margin: 0 8px;
    padding: 5px 8px;
  }

  .search-placeholder {
    font-size: 12px;
  }
}